package com.zhiqianbao.entity;

import java.util.List;

/**
 * Created by hp on 2017/7/27.
 */
public class RepayDataInfo {

    /**
     * count : 0
     * repayList : [{"principal":173.4,"promiseDate":"2017-07-25","overdue":1,"terms":2,"interest":10.6,"overdueFine":1.68,"id":197293,"state":"0","monthFee":40,"repayTotal":225.68,"loanId":197877,"overdueStatus":0}]
     */

    private int count;
    private List<RepayListBean> repayList;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<RepayListBean> getRepayList() {
        return repayList;
    }

    public void setRepayList(List<RepayListBean> repayList) {
        this.repayList = repayList;
    }

    public class RepayListBean {
        /**
         * principal : 173.4
         * promiseDate : 2017-07-25
         * overdue : 1
         * terms : 2
         * interest : 10.6
         * overdueFine : 1.68
         * id : 197293
         * state : 0
         * monthFee : 40
         * repayTotal : 225.68
         * loanId : 197877
         * overdueStatus : 0
         */

        private double principal;
        private String promiseDate;
        private int overdue;
        private int terms;//第几期
        private int term;//总期数
        private int amount;//借款金额
        private double interest;
        private double overdueFine;
        private int id;
        private String state;
        private int monthFee;
        private double repayTotal;
        private int loanId;
        private int overdueStatus;
        public int getTerm() {
            return term;
        }

        public void setTerm(int term) {
            this.term = term;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }
        public double getPrincipal() {
            return principal;
        }

        public void setPrincipal(double principal) {
            this.principal = principal;
        }

        public String getPromiseDate() {
            return promiseDate;
        }

        public void setPromiseDate(String promiseDate) {
            this.promiseDate = promiseDate;
        }

        public int getOverdue() {
            return overdue;
        }

        public void setOverdue(int overdue) {
            this.overdue = overdue;
        }

        public int getTerms() {
            return terms;
        }

        public void setTerms(int terms) {
            this.terms = terms;
        }

        public double getInterest() {
            return interest;
        }

        public void setInterest(double interest) {
            this.interest = interest;
        }

        public double getOverdueFine() {
            return overdueFine;
        }

        public void setOverdueFine(double overdueFine) {
            this.overdueFine = overdueFine;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getMonthFee() {
            return monthFee;
        }

        public void setMonthFee(int monthFee) {
            this.monthFee = monthFee;
        }

        public double getRepayTotal() {
            return repayTotal;
        }

        public void setRepayTotal(double repayTotal) {
            this.repayTotal = repayTotal;
        }

        public int getLoanId() {
            return loanId;
        }

        public void setLoanId(int loanId) {
            this.loanId = loanId;
        }

        public int getOverdueStatus() {
            return overdueStatus;
        }

        public void setOverdueStatus(int overdueStatus) {
            this.overdueStatus = overdueStatus;
        }
    }
}
